home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 22
/
freelog 22.iso
/
Prog
/
Djgpp
/
GPC2952B.ZIP
/
doc
/
gpc
/
docdemos
/
odddemo.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
2001-02-09
|
249 b
|
12 lines
program OddDemo;
var
Foo: Integer;
begin
Write ('Please enter an odd number: ');
ReadLn (Foo);
if not Odd (Foo) then
WriteLn ('Odd''s not even! Something''s odd out there ...')
else
WriteLn (Foo, ' is pretty odd.')
end.